package com.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * WlPower entity. @author MyEclipse Persistence Tools
 */

public class WlPower implements java.io.Serializable {

	// Fields

	private Integer pid;
	private String powername;
	private String powerstate;
	private Set wlRolevspowers = new HashSet(0);

	// Constructors

	/** default constructor */
	public WlPower() {
	}

	/** full constructor */
	public WlPower(String powername, String powerstate, Set wlRolevspowers) {
		this.powername = powername;
		this.powerstate = powerstate;
		this.wlRolevspowers = wlRolevspowers;
	}

	// Property accessors

	public Integer getPid() {
		return this.pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getPowername() {
		return this.powername;
	}

	public void setPowername(String powername) {
		this.powername = powername;
	}

	public String getPowerstate() {
		return this.powerstate;
	}

	public void setPowerstate(String powerstate) {
		this.powerstate = powerstate;
	}

	public Set getWlRolevspowers() {
		return this.wlRolevspowers;
	}

	public void setWlRolevspowers(Set wlRolevspowers) {
		this.wlRolevspowers = wlRolevspowers;
	}

}